home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / bash / bash_110 / mint / bash110s.zoo / bash-1.10 / diffs.MiNT < prev    next >
Encoding:
Text File  |  1991-11-09  |  3.0 KB  |  105 lines

  1. diff -c /usr/gnu/src/orig/config.h ./config.h
  2. *** /usr/gnu/src/orig/config.h    Sat Nov  9 16:26:48 1991
  3. --- ./config.h    Sat Nov  9 16:27:38 1991
  4. ***************
  5. *** 86,94 ****
  6.   #  define HAVE_READLINE_SOURCE
  7.   #endif /* READLINE */
  8.   
  9.   /* The default value of the PATH variable. */
  10. ! #define DEFAULT_PATH_VALUE \
  11.     ":/usr/gnu/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin:/etc:/usr/etc"
  12.   
  13.   /* The value for PATH when invoking `command -p'.  This is only used when
  14.      the Posix.2 confstr () function, or CS_PATH define are not present. */
  15. --- 86,104 ----
  16.   #  define HAVE_READLINE_SOURCE
  17.   #endif /* READLINE */
  18.   
  19. + /* Install it as a normal library. */
  20. + #if defined atarist
  21. + #  undef HAVE_READLINE_SOURCE
  22. + #endif
  23.   /* The default value of the PATH variable. */
  24. ! #if defined atarist
  25. ! #  define DEFAULT_PATH_VALUE \
  26. !   ":/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:/etc"
  27. ! #else
  28. ! #  define DEFAULT_PATH_VALUE \
  29.     ":/usr/gnu/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin:/etc:/usr/etc"
  30. + #endif
  31.   
  32.   /* The value for PATH when invoking `command -p'.  This is only used when
  33.      the Posix.2 confstr () function, or CS_PATH define are not present. */
  34. diff -c /usr/gnu/src/orig/machines.h ./machines.h
  35. *** /usr/gnu/src/orig/machines.h    Sat Nov  9 16:26:56 1991
  36. --- ./machines.h    Sat Nov  9 16:28:44 1991
  37. ***************
  38. *** 1006,1011 ****
  39. --- 1006,1031 ----
  40.   
  41.   /* **************************************************************** */
  42.   /*                                    */
  43. + /*            Atari ST / MiNT                   */
  44. + /*                                    */
  45. + /* **************************************************************** */
  46. + #if defined atarist || defined ataritt
  47. + #define M_MACHINE "Atari"
  48. + #define M_OS MiNT
  49. + #define REQUIRED_LIBRARIES -liio -lreadline -ltermcap
  50. + #define HAVE_SIGLIST
  51. + #undef USE_GNU_MALLOC    /* don't like fighting the library */
  52. + #define HAVE_VPRINTF
  53. + #define SYSDEP_CFLAGS -O -fomit-frame-pointer -fcombine-regs
  54. + #define HAVE_STRERROR
  55. + #define VOID_SIGHANDLER
  56. + #endif  /* atarist */
  57. + /* **************************************************************** */
  58. + /*                                    */
  59.   /*            Generic Entry                   */
  60.   /*                                    */
  61.   /* **************************************************************** */
  62. diff -c /usr/gnu/src/orig/shell.c ./shell.c
  63. *** /usr/gnu/src/orig/shell.c    Sat Nov  9 16:27:12 1991
  64. --- ./shell.c    Sat Nov  9 16:29:30 1991
  65. ***************
  66. *** 846,852 ****
  67. --- 846,861 ----
  68.         goto file_error_and_exit;
  69.       }
  70.     string[file_info.st_size] = '\0';
  71. + #ifdef MiNT
  72. +   {
  73. +     char *s = string;
  74.   
  75. +     do
  76. +       if (*s == '\r')
  77. +     *s = ' ';
  78. +     while (*s++);
  79. +   }
  80. + #endif
  81.     return_catch_flag++;
  82.     bcopy ((char *)return_catch, (char *)old_return_catch, sizeof (jmp_buf));
  83.   
  84. diff -c /usr/gnu/src/orig/test.c ./test.c
  85. *** /usr/gnu/src/orig/test.c    Sat Nov  9 16:27:18 1991
  86. --- ./test.c    Sat Nov  9 16:30:02 1991
  87. ***************
  88. *** 79,86 ****
  89. --- 79,88 ----
  90.   #  endif
  91.   #endif /* !_POSIX_VERSION */
  92.   
  93. + #ifndef MiNT /* Hmm, I think the MiNT library is wrong here :-( */
  94.   extern gid_t getgid (), getegid ();
  95.   extern uid_t geteuid ();
  96. + #endif
  97.   
  98.   #if !defined (R_OK)
  99.   #define R_OK 4
  100.